package smedi.ismedi.mobile.bff.controller.configuration

import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.ActiveProfiles
import seedwork.IntegrationTest
import seedwork.UnitTest
import spock.lang.Specification

/**
 * ConfigurationControllerIntegrationTest
 * @author YangJin
 */
//@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
//@ActiveProfiles(profiles = "it")
////@IntegrationTest
//@UnitTest
//class ConfigurationControllerIntegrationTest extends Specification {
//    @Autowired(required = false)
//    private ConfigurationController configurationController
//
//    def "GetFrontendConfiguration_从nacos中获取前端配置_配置获取成功"() {
//        given:
//        def configKey = "IsmediIOSVersion"
//
//        when:
//        configurationController.getFrontendConfiguration(configKey)
//
//        then:
//        thrown(UnsupportedOperationException.class)
//    }
//}
